package com.cloudkinto.service.orderinput.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zhangyy
 * @date 2020/6/8 13:37
 * @description:
 */
@Data
@ApiModel
public class OrderInputProductAdd {
    /**
     * 产品编号
     */
    @ApiModelProperty("商品id")
    @NotNull(message = "pls.chose.sku")
    private Long productId;

    /**
     *
     */
    @ApiModelProperty("数量")
    @NotNull(message = "pls.input.package.count")
    private Integer count;
}